wait_timeout = "3"

QC_init_cmd = [
    {
        "cmd": 'ATE1',
        "match": 'ATE1\s{3}OK\s{2}',
    },
    {
        "cmd": 'AT+QIDEACT=1',
        "match": 'AT\+QIDEACT=1\s{3}OK\s{2}',
    },
    {
        "cmd": 'AT+QHTTPSTOP',
        "match": 'AT\+QHTTPSTOP\s{3}OK\s{2}',
    },
    {
        "cmd": 'AT+QICLOSE=0',
        "match": 'AT\+QICLOSE=0\s{3}OK\s{2}',
    },
    {
        "cmd": 'AT+QMTDISC=0',
        "match": '.*',
    },
    {
        "cmd": 'AT+QMTCLOSE=0',
        "match": '.*',
    },
    {
        "cmd": 'AT+QFDEL="*"',
        "match": 'AT\+QFDEL="\*"\s{3}OK\s{2}',
        "wait": b'OK',
        "timeout": wait_timeout
    },
]
